package com.seuic.android;

import com.seuic.android.DownloadMKFromPCListener;

interface SuperPinpad {
	int DownloadMKFromPC( DownloadMKFromPCListener listener, byte type );
	int StopDonloadMKFromPC();
	int SetSN( in byte[] sn );
	int SetSNASCII( in byte[] sn );
	int DownloadPinMK( byte index, in byte[] key );
	int DownloadMacMK( byte index, in byte[] key );
	int DownloadDesMK( byte index, in byte[] key );
	int DownloadMagicMK( byte type, byte index, in byte[] key );
	int DownloadEncMk( byte dec_key_index, byte index, in byte[] key );
	int GetAlgType( out byte[] type );
	int SetAlgType( byte type );
	boolean isTSKExist();
	int getTSKCheckValue( out byte[] checkValue );
	int DownloadMKFromPCEx( DownloadMKFromPCListener listener, byte type, in Bundle param );
}
